home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 2001 May / SGI IRIX Base Documentation 2001 May.iso / usr / share / catman / p_man / cat2 / standard / sysfs.z / sysfs
Encoding:
Text File  |  1998-10-20  |  4.3 KB  |  67 lines

  1.  
  2.  
  3.  
  4. ssssyyyyssssffffssss((((2222))))                                                              ssssyyyyssssffffssss((((2222))))
  5.  
  6.  
  7.  
  8. NNNNAAAAMMMMEEEE
  9.      _ssss_yyyy_ssss_ffff_ssss - get file system type information
  10.  
  11. SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
  12.      _####_iiii_nnnn_cccc_llll_uuuu_dddd_eeee _<<<<_ssss_yyyy_ssss_////_ffff_ssss_tttt_yyyy_pppp_...._hhhh_>>>>
  13.      _####_iiii_nnnn_cccc_llll_uuuu_dddd_eeee _<<<<_ssss_yyyy_ssss_////_ffff_ssss_iiii_dddd_...._hhhh_>>>>
  14.  
  15.      _iiii_nnnn_tttt _ssss_yyyy_ssss_ffff_ssss_((((_iiii_nnnn_tttt _oooo_pppp_cccc_oooo_dddd_eeee_,,,, _cccc_oooo_nnnn_ssss_tttt _cccc_hhhh_aaaa_rrrr _****_ffff_ssss_nnnn_aaaa_mmmm_eeee_))))_;;;;
  16.  
  17.      _iiii_nnnn_tttt _ssss_yyyy_ssss_ffff_ssss_((((_iiii_nnnn_tttt _oooo_pppp_cccc_oooo_dddd_eeee_,,,, _iiii_nnnn_tttt _ffff_ssss______iiii_nnnn_dddd_eeee_xxxx_,,,, _cccc_hhhh_aaaa_rrrr _****_bbbb_uuuu_ffff_))))_;;;;
  18.  
  19.      _iiii_nnnn_tttt _ssss_yyyy_ssss_ffff_ssss_((((_iiii_nnnn_tttt _oooo_pppp_cccc_oooo_dddd_eeee_))))_;;;;
  20.  
  21. DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
  22.      _ssss_yyyy_ssss_ffff_ssss  returns information about the file system types configured in the
  23.      system. The number of arguments accepted by _ssss_yyyy_ssss_ffff_ssss varies and depends on
  24.      the _o_p_c_o_d_e.  The currently recognized _o_p_c_o_d_e_s and their functions are:
  25.  
  26.      _GGGG_EEEE_TTTT_FFFF_SSSS_IIII_NNNN_DDDD      Translate _f_s_n_a_m_e, a null-terminated file-system type
  27.                    identifier, into a file-system type index.
  28.  
  29.      _GGGG_EEEE_TTTT_FFFF_SSSS_TTTT_YYYY_PPPP      Translate _f_s__i_n_d_e_x, a file-system type index, into a null-
  30.                    terminated file-system type identifier and write it into
  31.                    the buffer pointed to by _b_u_f; this buffer must be at least
  32.                    of size _FFFF_SSSS_TTTT_YYYY_PPPP_SSSS_ZZZZ as defined in _<<<<_ssss_yyyy_ssss_////_ffff_ssss_tttt_yyyy_pppp_...._hhhh_>>>>.
  33.  
  34.      _GGGG_EEEE_TTTT_NNNN_FFFF_SSSS_TTTT_YYYY_PPPP     Return the total number of file system types configured in
  35.                    the system.
  36.  
  37.      _ssss_yyyy_ssss_ffff_ssss fails if one or more of the following are true:
  38.  
  39.      _EEEE_IIII_NNNN_VVVV_AAAA_LLLL        _f_s_n_a_m_e points to an invalid file-system identifier;
  40.                    _f_s__i_n_d_e_x is zero, or invalid; _o_p_c_o_d_e is invalid.
  41.  
  42.      _EEEE_FFFF_AAAA_UUUU_LLLL_TTTT        _b_u_f or _f_s_n_a_m_e points to an invalid user address.
  43.  
  44. BBBBUUUUGGGGSSSS
  45.      _ssss_yyyy_ssss_ffff_ssss does not recognize user-mode file systems such as dos or iso9660.
  46.  
  47. DDDDIIIIAAAAGGGGNNNNOOOOSSSSTTTTIIIICCCCSSSS
  48.      Upon successful completion, _ssss_yyyy_ssss_ffff_ssss returns the file-system type index if
  49.      the _o_p_c_o_d_e is _GGGG_EEEE_TTTT_FFFF_SSSS_IIII_NNNN_DDDD, a value of 0 if the _o_p_c_o_d_e is _GGGG_EEEE_TTTT_FFFF_SSSS_TTTT_YYYY_PPPP, or the
  50.      number of file system types configured if the _o_p_c_o_d_e is _GGGG_EEEE_TTTT_NNNN_FFFF_SSSS_TTTT_YYYY_PPPP.
  51.      Otherwise, a value of -1 is returned and _eeee_rrrr_rrrr_nnnn_oooo is set to indicate the
  52.      error.
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.                                                                         PPPPaaaaggggeeee 1111
  64.  
  65.  
  66.  
  67.